package com.household.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.household.domain.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


/**
 * Created By wanzhen
 * 2023. 2023/3/25. 11:40
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    Integer updatePassword(@Param("username") String username, @Param("password") String newPassword);

}
